<!DOCTYPE html>
<html lang="en">
<head>
	
	<!-- start: Meta -->
	<meta charset="utf-8" />
	<title>WCMS 登录</title>
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
		<script src="./static/public/jquery-1.11.0.min.js" type="text/javascript" ></script>
	
	<link href="./static/bootstrap2/css/bootstrap.min.css" rel="stylesheet" />
	<link href="./static/bootstrap2/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link href="./static/bootstrap2/css/style.min.css" rel="stylesheet" />
	<link href="./static/bootstrap2/css/style-responsive.min.css" rel="stylesheet" />
	<link href="./static/bootstrap2/css/retina.css" rel="stylesheet" />
	<link href="./static/bootstrap2/css/my.css" rel="stylesheet" />
	<!-- end: CSS -->
 <body>
		
	
		
		 <!-- Main hero unit for a primary marketing message or call to action -->
      <div class="hero-unit">
        <h1>订购系统授权中心</h1>
        <p>请输入授权密码</p>
        
        <p>
        <div class="form-inline pull-left">
        <span class="input-prepend input-append">
  <span class="add-on"><i class="icon-lock"></i></span>
							<input  name="password" id="password" type="password" value="" placeholder="请输入密码" />
 
 </span>
      <button class="btn btn-danger" onclick="authorize()">授权</button>
     第一次登陆请点击此按钮 <a href="./index.php?buyauthorize/pwd" class="btn btn-warning">激活授权</a>
      <br>
      不会？ 请点击这里观看右侧视频教程
      <br>
         　　　授权密码被禁用请联系 网络管理部0573-83258127
      
       </div>
       <div class="pull-right">
       <embed src="http://static.video.qq.com/TPout.swf?vid=c0140gyx178&auto=0" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
       </div>
      </div>

     

      <hr>

      <footer>
        <p>&copy; 大灰狼  Email: 116311316@qq.com</p>
      </footer>

  {literal}
  <script>
  function authorize(){
 var pwd=$("#password").val();
 if(pwd.lenght<5){
  alert("密码不能少于6位");
	 }
 $.post("./index.php?buyauthorize/sq",{password:pwd},function(data){
	  alert(data.message);

	 if(data.status==true){
      location.reload();
	 }
	},"json");

   }

  </script>
  {/literal}  
    
  </body>
</html>